Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawImage Method / DrawImage(IImage,RectangleF,Nullable<RectangleF>,ImageAlign,Single) Method
The image to draw.
The destination rectangle.
The clipping rectangle, or null for no clipping.
The image alignment.
The image opacity.

In This Topic
    DrawImage(IImage,RectangleF,Nullable<RectangleF>,ImageAlign,Single) Method
    In This Topic
    Draws an image using specified bounds, clipping and image alignment.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawImage( _
       ByVal image As IImage, _
       ByVal destBounds As System.Drawing.RectangleF, _
       ByVal clipBounds As System.Nullable(Of RectangleF), _
       ByVal align As ImageAlign, _
       Optional ByVal opacity As System.Single _
    ) 
    public void DrawImage( 
       IImage image,
       System.Drawing.RectangleF destBounds,
       System.Nullable<RectangleF> clipBounds,
       ImageAlign align,
       System.float opacity
    )

    Parameters

    image
    The image to draw.
    destBounds
    The destination rectangle.
    clipBounds
    The clipping rectangle, or null for no clipping.
    align
    The image alignment.
    opacity
    The image opacity.
    See Also